package com.list88zhu.annotation;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.list88zhu.android.annotation.Subscribe;
import com.list88zhu.android.eventbus.ThreadMode;

public class MainActivity extends AppCompatActivity {

    private static final String TAG = "MainActivity";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

//        MyEventBus.getEventBus().post();
    }


    @Subscribe(threadMode = ThreadMode.MAIN, priority = 1, sticky = true)
    public void onEvent() {
        System.out.println("dddddddddddddddddddd");
    }
}
